package com.gaber.encapsulation;

/**
 * @author gaber
 * @date 2023/7/11 17:19:41
 * @description TODO
 */
public class EncapTest {

    private String name;
    private String idNum;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String toString() {
        return "EncapTest{" +
                "name='" + name + '\'' +
                ", idNum='" + idNum + '\'' +
                ", age=" + age +
                '}';
    }
}
